package com.mm.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author 林友航
 * @version 1.0
 * @date 2020/12/4 12:26
 */
@ApiModel(value = "部门管理修改", description = "从客户端传入的数据封装实体")
@Data
public class DepartmentAddBo {

    @ApiModelProperty(value = "puniName", name = "被处罚人(员工)", required = true)
    @NotEmpty(message = "处罚人(员工)不能为空")
    private String empName;

    @ApiModelProperty(value = "puniCause", name = "处罚事由", required = true)
    @NotEmpty(message = "处罚事由不能为空")
    private String puniCause;

    @ApiModelProperty(value = "puniResult", name = "处罚结果", required = true)
    @NotEmpty(message = "处罚结果不能为空")
    private String puniResult ;

    @ApiModelProperty(value = "adminName", name = "处罚人(管理员)", required = true)
    @NotEmpty(message = "处罚人(管理员)不能为空")
    private String adminName;

    @ApiModelProperty(value = "puniTime", name = "处罚时间", required = true)
    @NotEmpty(message = "处罚时间不能为空")
    private String puniTime;
}
